package com.redfisky.ssoj.entity;

import java.io.Serializable;
import java.util.Date;

public class UserNew implements Serializable {

    public UserNew() {
    }

    public UserNew(Integer id, String username, String password, String mobile, String email, Date modifedDate) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.mobile = mobile;
        this.email = email;
        this.modifedDate = modifedDate;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_new.id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_new.username
     *
     * @mbg.generated
     */
    private String username;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_new.password
     *
     * @mbg.generated
     */
    private String password;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_new.mobile
     *
     * @mbg.generated
     */
    private String mobile;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_new.email
     *
     * @mbg.generated
     */
    private String email;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_new.modifed_date
     *
     * @mbg.generated
     */
    private Date modifedDate;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table user_new
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_new.id
     *
     * @return the value of user_new.id
     * @mbg.generated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_new.id
     *
     * @param id the value for user_new.id
     * @mbg.generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_new.username
     *
     * @return the value of user_new.username
     * @mbg.generated
     */
    public String getUsername() {
        return username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_new.username
     *
     * @param username the value for user_new.username
     * @mbg.generated
     */
    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_new.password
     *
     * @return the value of user_new.password
     * @mbg.generated
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_new.password
     *
     * @param password the value for user_new.password
     * @mbg.generated
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_new.mobile
     *
     * @return the value of user_new.mobile
     * @mbg.generated
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_new.mobile
     *
     * @param mobile the value for user_new.mobile
     * @mbg.generated
     */
    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_new.email
     *
     * @return the value of user_new.email
     * @mbg.generated
     */
    public String getEmail() {
        return email;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_new.email
     *
     * @param email the value for user_new.email
     * @mbg.generated
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_new.modifed_date
     *
     * @return the value of user_new.modifed_date
     * @mbg.generated
     */
    public Date getModifedDate() {
        return modifedDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_new.modifed_date
     *
     * @param modifedDate the value for user_new.modifed_date
     * @mbg.generated
     */
    public void setModifedDate(Date modifedDate) {
        this.modifedDate = modifedDate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_new
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", username=").append(username);
        sb.append(", password=").append(password);
        sb.append(", mobile=").append(mobile);
        sb.append(", email=").append(email);
        sb.append(", modifedDate=").append(modifedDate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}